/**
 * author      : dormi330
 * date        : 2018/6/24
 * project     : mybatis
 * description : 购物车查询 repository
 */

package com.deep.trade.domain.cart;

import com.github.pagehelper.PageInfo;

public interface CartQueryRepository {

    /** 查询单个 cart */
    CartSku cartOfSpecificMemberAndSku(String memberId, String skuId);

    /** 会员的购物车列表 */
    PageInfo<CartSku> cartListOfMember(String memberId, int pageNum, int pageSize) throws Exception;
}
